#include "BulletCollision/Gimpact/btGImpactBvhStructs.h"
#ifdef __cplusplus
extern "C" {
#endif
GIM_BVH_TREE_NODE* bullet_NewGIM_BVH_TREE_NODE(){
	GIM_BVH_TREE_NODE* wrap_out = new GIM_BVH_TREE_NODE();
	return wrap_out;
}

int bullet_GIM_BVH_TREE_NODE_getDataIndex(GIM_BVH_TREE_NODE* c_this){
	int c_out = c_this->getDataIndex();
	int wrap_out = (c_out);
	return wrap_out;
}

int bullet_GIM_BVH_TREE_NODE_getEscapeIndex(GIM_BVH_TREE_NODE* c_this){
	int c_out = c_this->getEscapeIndex();
	int wrap_out = (c_out);
	return wrap_out;
}

btAABB* bullet_GIM_BVH_TREE_NODE_GetFieldOfM_bound(GIM_BVH_TREE_NODE* c_this){
	return (btAABB*)(&c_this->m_bound);
}

bool bullet_GIM_BVH_TREE_NODE_isLeafNode(GIM_BVH_TREE_NODE* c_this){
	bool c_out = c_this->isLeafNode();
	bool wrap_out = (c_out);
	return wrap_out;
}

void bullet_GIM_BVH_TREE_NODE_setDataIndex(GIM_BVH_TREE_NODE* c_this,int index){
	int c_arg_index=index;
	c_this->setDataIndex(c_arg_index);
}

void bullet_GIM_BVH_TREE_NODE_setEscapeIndex(GIM_BVH_TREE_NODE* c_this,int index){
	int c_arg_index=index;
	c_this->setEscapeIndex(c_arg_index);
}

GIM_BVH_DATA* bullet_NewGIM_BVH_DATA(){
	GIM_BVH_DATA* wrap_out = new GIM_BVH_DATA();
	return wrap_out;
}

btAABB* bullet_GIM_BVH_DATA_GetFieldOfM_bound(GIM_BVH_DATA* c_this){
	return (btAABB*)(&c_this->m_bound);
}

int bullet_GIM_BVH_DATA_GetFieldOfM_data(GIM_BVH_DATA* c_this){
	return (int)(c_this->m_data);
}

#ifdef __cplusplus
}
#endif
